#pragma once
#include<stdio.h>
#include<stdlib.h>
typedef int SqNodeType;
typedef struct SqNode
{
	SqNodeType data;
	struct SqNode* next;
}SNode;

void SqNodePushBack(SNode **pphead, SqNodeType x);
void SqNodePushFront(SNode **pphead, SqNodeType x);
void SqNodePopFront(SNode **pphead);
void SqNodePopBack(SNode **pphead);
SNode* SqNodeFind(SNode* phead, SqNodeType x);
void SqNodeInsert(SNode** pphead, SNode* pos, SqNodeType x);
void SqNodeErase(SNode **pphead, SNode* pos);
void SqNodePrint(SNode* phead);
